import http from './httpInstance';

function getOrgsOnTreeView(params) {
  return http({
    method: 'post',
    url: '/integrated-workbench/v1/streetalertplatform/event/eventflow/inspect/inspect/getorgsonontreeview',
    data: params,
  });
}

function showTagGroupAndTag(params) {
  return http({
    method: 'post',
    url: '/vmp-server/v1/tag/showTagGroupAndTag',
    data: params,
  });
}

function cameraDistributeOnMapByLevelApi(params) {
  return http({
    method: 'post',
    url: '/integrated-workbench/v1/camera/cameraDistributeOnMapByLevel',
    data: params,
  });
}

function exportCameraListApi(params) {
  return http({
    method: 'post',
    url: '/vmp-server/v1/api/camera/exportCameraList',
    data: params,
  });
}

function getparamdictApi(params) {
  return http({
    method: 'post',
    url: '/vmp-server/v1/common/getparamdict',
    data: params,
  });
}

function getEventListByGamer(params) {
  return http({
    method: 'post',
    url: '/integrated-workbench/v1/enforcement/busizeventlist',
    data: params,
  });
}


export {
  getEventListByGamer,
  getparamdictApi,
  exportCameraListApi,
  cameraDistributeOnMapByLevelApi,
  getOrgsOnTreeView,
  showTagGroupAndTag,
};
